<?
/**
 * <b>BestOfferDetailsType Class</b>
 * Published 04/11/2010 18:56:59
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('BestOfferStatusCodeType.php');
require_once('AmountType.php');

class BestOfferDetailsType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var AmountType $BestOffer
	public $BestOffer;
	// @var int $BestOfferCount
	public $BestOfferCount;
	// @var boolean $BestOfferEnabled
	public $BestOfferEnabled;
	// @var BestOfferStatusCodeType $BestOfferStatus
	public $BestOfferStatus;
 /** End Properties **/

/**
 *
 * @return AmountType
 */
	function getBestOffer(){
		return $this->BestOffer;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBestOffer($value){
		$this->BestOffer = $value;
	}


/**
 *
 * @return int
 */
	function getBestOfferCount(){
		return $this->BestOfferCount;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBestOfferCount($value){
		$this->BestOfferCount = $value;
	}


/**
 *
 * @return boolean
 */
	function getBestOfferEnabled(){
		return $this->BestOfferEnabled;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBestOfferEnabled($value){
		$this->BestOfferEnabled = $value;
	}


/**
 *
 * @return BestOfferStatusCodeType
 */
	function getBestOfferStatus(){
		return $this->BestOfferStatus;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBestOfferStatus($value){
		$this->BestOfferStatus = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("BestOfferDetailsType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"BestOffer"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"BestOfferCount"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"BestOfferEnabled"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"BestOfferStatus"=>
					array(
						"required"=>false,
						"type"=>"BestOfferStatusCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
